<?php
#
# author: Phil Spagnolo
# (c)2008 South Hill Calvary Chapel
#

include_once("./root.inc.php");
include_once("${root}/common.php");

$title = "Live Video Stream";
$meta_key='weekly, services, bible, study, time, Wednesday, Sunday, live, streaming, media, video, audio';
$meta_desc="Streaming weekly servies and times of worship at South Hill Calvary Chapel in Puyallup, WA Pierce County";
print_html_head($title ,$meta_key,$meta_desc);

print_java_head(NULL);
begin_body();
page_title($title);

printf("Two times each week, we stream our services live so that those who can't make it in person have an opportunity to take in the word and worship.\n");
printf("We stream services on:\n");
printf("<ul>\n");
printf("<li>Sunday from 10:00 to 11:30am</li>\n");
printf("<li>Wednesdays from 7:00 to 8:30pm</li>\n");
printf("</ul>\n");
printf("We hope this service is a blessing to you.\n");
?>

<script type='text/javascript' src='./js/JWMediaPlayer5.5/jwplayer.js'></script>

<div id='centermedia'>
	<div id='mediaplayer'></div>
		<a href='/m/flash/forFlashPlayer10.1/android.php' target='blank_'><img id='androidIcon' src='./images/androidIcon.png' style='width:75px; margin-right:15px;'></img></a>
                <a href='http://50.19.125.137:1935/live/myStream.sdp/playlist.m3u8'><img id='appleIcon' src='./images/appleIcon.png' style='width:75px;'></img></a>
                <br><br><a href='http://50.19.125.137:1935/live/myStream.sdp/playlist.m3u8'>Other</a><br><br>
</div>


<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '600',
    'height': '338',
    'file': 'myStream.sdp',
    'image': '/images/SHCC_logo_600x338.png',
	'streamer': 'rtmp://50.19.125.137/live',
    'modes': [
        {type: 'html5'},
        {type: 'flash', src: './js/JWMediaPlayer5.5/player.swf'},
        {type: 'download'}
    ]
  });
</script>
<?
end_page_title();
end_body();
?>



